<template>
  <button @click="updateTitle">Update Title</button>
</template>

<script>
export default {
  props: ['title'],
  methods: {
    updateTitle() {
      this.$emit('update:title', 'Hello from Child');
    }
  }
};
</script>
